<style>
	.form tr th{width:300px;}
</style>
<h1><?php echo $fund['name']; ?></h1>
<ul id="breadcrumb">
	<li>รหัสบันทึกบัญชีใบสำคัญรับเงินส่วนของพมจ</li>		
</ul>
<div id="content">
	<?php echo form_open('income_expenses/code/'.$fund['id']); ?>
	<table class="form">
		<?php foreach($items as $item): ?>
		<tr>
			<th><?php echo $item['col_title']; ?></th>
			<td><?php echo form_input('account_id['.$item['id'].']', $item['account_id'.$fund['id']]); ?></td>
		</tr>
		<?php endforeach; ?>
		<tr>
			<th></th>
			<td><?php echo form_submit('', 'Submit'); ?></td>
		</tr>
	</table>
	<?php form_close(); ?>
</div>